package com.pym.common;

/**
 * @Author Jerry wmj
 * @Description //TODO 常量类
 * @Date 9:21 2021/8/16
 **/
public class ResultCode {
    /**
     * 成功代码
     */
    public static String SUCC = "5000";
    public static String SUCC_DESC = "Success";

    /**
     * 查询成功
     */
    public static String Query_SUCC = "6001";
    public static String Query_SUCC_DESC = "Query_SUCC";

    /**
     * 查询失败
     */
    public static String Query_ERROR = "6000";
    public static String Query_ERROR_DESC = "Query_ERROR";

    /**
     * 添加失败
     */
    public static String ADD_ERROR = "6001";
    public static String ADD_ERROR_DESC = "ADD_ERROR";

    /**
     * 添加成功
     */
    public static String ADD_SUCESS = "6004";
    public static String ADD_SUCESS_DESC = "ADD_SUCESS";

    /**
     * 更新成功
     */
    public static String UPDATE_SUCESS = "6002";
    public static String UPDATE_SUCESS_DESC = "UPDATE_SUCESS";

    /**
     * 更新成功
     */
    public static String UPDATE_ERROR = "6003";
    public static String UPDATE_ERROR_DESC = "UPDATE_ERROR";

    /**
     * 不存在
     */
    public static String IsExit = "404";
}